package com.wf.mall.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 订单类
 * @author: wf
 **/
@Setter
@Getter
@NoArgsConstructor
public class OrderMsg {
    private String id;
    private String productId;
    private String userId;
    private double price;
    private int status;
    private int count;

    public OrderMsg(String id, String productId, String userId,
                    double price, int status) {
        this.id = id;
        this.productId = productId;
        this.userId = userId;
        this.price = price;
        this.status = status;
    }
}
